
#import <UIKit/UIKit.h>
#import "Common.h"

@class Scene;

@interface UIOpenGLView : UIView 
{
	Camera			*camera;
	Renderer		*renderer;
	
	float			cameraAngleVert;
	float			cameraAngleHoriz;
	
	Vector3			cameraCenter;
	float			cameraRadius;
	
	BOOL			cameraControlEnabled;
}

@property (readonly)	Camera			*camera;
@property (readonly)	Renderer		*renderer;

@property (assign)	float			cameraAngleVert;
@property (assign)	float			cameraAngleHoriz;

@property (assign)	Vector3			cameraCenter;
@property (assign)	float			cameraRadius;

@property (assign) BOOL				cameraControlEnabled;

-(void) drawView;

@end
